<center>
	<h1>ログイン画面</h1>
	<br/><br/>
	<div id='tblLogin'>
		<div style='text-align:left;'>
			{if (!empty($arrError))}
				{foreach $arrError as $error}
					<span style="color:red;margin-left:50px;">{$error}</span> <br/>
				{/foreach}
			{/if}
			<br/>
		</div>	
		<form id='frm' method='post' action='/login'>
			<table id='loginT' cellspacing='0' cellpadding='0' border='0'>
				<tr>
					<td class='leftLogin'>エメール</td>
					<td>
						<input class='rightLogin' type='text' name='email' id='email' value='{$email}'/>
					</td>
				</tr>
				<tr>
					<td class='leftLogin'>パスワード</td>
					<td>
						<input class='rightLogin' type='password'  name='password' id='password'/>
					</td>
				</tr>
				<tr>
					<td colspan='2' align='center'>
						<br/><br/>
						<a class='button' id='button' href='javascript:void(0)' onclick='document.forms[0].submit()'>ログイン</a>
					</td>
				</tr>			
			</table>
		</form>
	</div>
</center>
<script text='javascript'>
	$( document ).ready(function() {
		$('body').live('keypress',function(e){
			if (e.keyCode == 13){
				document.forms[0].submit()
			}
		});
		
	});
</script>